class DatetimePlan2Date < ActiveRecord::Migration
  def self.up
    change_column :plans, :ini, :date, {:null=>true, :default=>nil}
    change_column :plans, :fin, :date, {:null=>true, :default=>nil}
  end

  def self.down
    change_column :plans, :ini, :datetime, {:null=>true}
    change_column :plans, :fin, :datetime, {:null=>true}
  end
end
